/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.wxs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * <p>Project: wxshop - HomeController
 * <p>Powered by webrx On 2021-04-16 19:11:57
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 15
 */
@Controller
public class HomeController {

    @RequestMapping("/")
    public String goIndex() {
        return "redirect:/index/";
    }

    //@RequestMapping("/")
    public ModelAndView index() {
        ModelAndView mv = new ModelAndView("home");
        return mv;
    }

    //@RequestMapping(value = {"*", "*/*", "*/*/*", "*/*/*/*"})
    public String no() {
        return "404";
    }

}
